package GUI;

import javax.swing.JPanel;
import javax.swing.JLabel;
import com.jgoodies.forms.factories.DefaultComponentFactory;
import javax.swing.ImageIcon;
import java.awt.Font;
import java.util.Iterator;

import javax.swing.JComboBox;
import javax.swing.JButton;
import javax.swing.DefaultComboBoxModel;

public class DetermineStageManger_GUI extends JPanel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private JComboBox comboBox_testing_stage;
	private JComboBox comboBox_performance;
	private JComboBox comboBox_examination_stage;
	private JLabel lblNewJgoodiesLabel_1;
	private JLabel lblNewJgoodiesLabel;
	private JButton button;
	private JButton btnSubmit;
	private JComboBox comboBox_req_num;
	private JComboBox comboBox_estimation_stage;
	private JButton btnUpdate;
	
//constructor
	public DetermineStageManger_GUI() {
		setLayout(null);
		
		JLabel lblNewJgoodiesTitle = DefaultComponentFactory.getInstance().createTitle("Determine stage manager window");
		lblNewJgoodiesTitle.setFont(new Font("David", Font.BOLD | Font.ITALIC, 17));
		lblNewJgoodiesTitle.setIcon(new ImageIcon(DetermineStageManger_GUI.class.getResource("/Picture/Global-Manager-icon.png")));
		lblNewJgoodiesTitle.setBounds(10, 0, 405, 84);
		add(lblNewJgoodiesTitle);
		
		lblNewJgoodiesLabel = DefaultComponentFactory.getInstance().createLabel("Choose req num");
		lblNewJgoodiesLabel.setFont(new Font("Arial", Font.BOLD, 12));
		lblNewJgoodiesLabel.setBounds(10, 144, 200, 50);
		add(lblNewJgoodiesLabel);
		
		lblNewJgoodiesLabel_1 = DefaultComponentFactory.getInstance().createLabel("Estimation stage");
		lblNewJgoodiesLabel_1.setFont(new Font("Arial", Font.BOLD, 12));
		lblNewJgoodiesLabel_1.setBounds(10, 190, 200, 50);
		add(lblNewJgoodiesLabel_1);
		
		comboBox_req_num = new JComboBox();
		//comboBox_req_num.setModel(new DefaultComboBoxModel(new String[] {"", "1", "2", "3", "4", "5", "6", "7"}));
		comboBox_req_num.setBounds(202, 152, 180, 27);	
		add(comboBox_req_num);
	
		comboBox_estimation_stage = new JComboBox();
		comboBox_estimation_stage.setBounds(202, 190, 180, 27);
		add(comboBox_estimation_stage);
		
		comboBox_examination_stage = new JComboBox();
		
		comboBox_examination_stage.setBounds(202, 241, 180, 27);
		add(comboBox_examination_stage);
		
		comboBox_performance = new JComboBox();
		comboBox_performance.setBounds(202, 301, 180, 27);
		add(comboBox_performance);
		
		comboBox_testing_stage = new JComboBox();
		comboBox_testing_stage.setBounds(202, 350, 180, 27);
		add(comboBox_testing_stage);
		
		JLabel lblNewJgoodiesLabel_2 = DefaultComponentFactory.getInstance().createLabel("Examination stage");
		lblNewJgoodiesLabel_2.setFont(new Font("Arial", Font.BOLD, 12));
		lblNewJgoodiesLabel_2.setBounds(10, 228, 200, 50);
		add(lblNewJgoodiesLabel_2);
		
		JLabel lblNewJgoodiesLabel_3 = DefaultComponentFactory.getInstance().createLabel("Performance stage");
		lblNewJgoodiesLabel_3.setFont(new Font("Arial", Font.BOLD, 12));
		lblNewJgoodiesLabel_3.setBounds(10, 300, 200, 50);
		add(lblNewJgoodiesLabel_3);
		
		JLabel lblNewJgoodiesLabel_4 = DefaultComponentFactory.getInstance().createLabel("Testing stage");
		lblNewJgoodiesLabel_4.setFont(new Font("Arial", Font.BOLD, 12));
		lblNewJgoodiesLabel_4.setBounds(10, 337, 200, 50);
		add(lblNewJgoodiesLabel_4);
		
		button = new JButton("Cancel");
		button.setIcon(new ImageIcon(DetermineStageManger_GUI.class.getResource("/Picture/Button-Close-icon.png")));
		button.setBounds(10, 461, 135, 47);
		add(button);
		
		btnSubmit = new JButton("Add");
		btnSubmit.setIcon(new ImageIcon(DetermineStageManger_GUI.class.getResource("/Picture/add-contact-icon.png")));
		btnSubmit.setBounds(422, 461, 135, 47);
		add(btnSubmit);
		
		btnUpdate = new JButton("Update");
		btnUpdate.setIcon(new ImageIcon(DetermineStageManger_GUI.class.getResource("/Picture/edit-file-icon.png")));
		btnUpdate.setBounds(224, 388, 135, 47);
		add(btnUpdate);
	}
	public JComboBox getComboBox_req_num() {
		return comboBox_req_num;
	}
	public void setComboBox_req_num(JComboBox comboBox_req_num) {
		this.comboBox_req_num = comboBox_req_num;
	}
	public JComboBox getComboBox_estimation_stage() {
		return comboBox_estimation_stage;
	}
	public void setComboBox_estimation_stage(JComboBox comboBox_estimation_stage) {
		this.comboBox_estimation_stage = comboBox_estimation_stage;
	}
	public JComboBox getComboBox_testing_stage() {
		return comboBox_testing_stage;
	}
	public void setComboBox_testing_stage(JComboBox comboBox_testing_stage) {
		this.comboBox_testing_stage = comboBox_testing_stage;
	}
	public JComboBox getComboBox_performance() {
		return comboBox_performance;
	}
	public void setComboBox_performance(JComboBox comboBox_performance) {
		this.comboBox_performance = comboBox_performance;
	}
	public JComboBox getComboBox_examination_stage() {
		return comboBox_examination_stage;
	}
	public void setComboBox_examination_stage(JComboBox comboBox_examination_stage) {
		this.comboBox_examination_stage = comboBox_examination_stage;
	}
	/*public JLabel getLblNewJgoodiesLabel_1() {
		return lblNewJgoodiesLabel_1;
	}
	public void setLblNewJgoodiesLabel_1(JLabel lblNewJgoodiesLabel_1) {
		this.lblNewJgoodiesLabel_1 = lblNewJgoodiesLabel_1;
	}
	public JLabel getLblNewJgoodiesLabel() {
		return lblNewJgoodiesLabel;
	}
	public void setLblNewJgoodiesLabel(JLabel lblNewJgoodiesLabel) {
		this.lblNewJgoodiesLabel = lblNewJgoodiesLabel;
	}*/
	public JButton getButton() {
		return button;
	}
	public void setButton(JButton button) {
		this.button = button;
	}
	public JButton getBtnSubmit() {
		return btnSubmit;
	}
	public void setBtnSubmit(JButton btnSubmit) {
		this.btnSubmit = btnSubmit;
	}
	public JButton getBtnUpdate() {
		return btnUpdate;
	}
	public void setBtnUpdate(JButton btnUpdate) {
		this.btnUpdate = btnUpdate;
	}
	
	
}
